
/*
 * entry of the GDT should contain this data.
 */
struct gdt_entry_struct
{
	unsigned short limit_low;
	unsigned short base_low;
	unsigned char  base_middle;
	unsigned char  access;
	unsigned char  granularity;
	unsigned char  base_high;
} __attribute__((packed));
typedef struct gdt_entry_struct gdt_entry;

/*
 * This pointer will tell the cpu where to find the GDT
 */
struct gdt_pointer_struct
{
	unsigned short limit;
	unsigned int base;
} __attribute__((packed));
typedef struct gdt_pointer_struct gdt_pointer;
